<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>人才来了-简历预览</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="__ROOT__/weixin_statics/css/reset.css">
<link rel="stylesheet" href="__ROOT__/weixin_statics/css/style.css">
    <script src="__ROOT__/weixin_statics/js/jquery-1.7.2.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="__ROOT__/weixin_statics/js/soundmanager2-jsmin.js"></script>
  <style>.hidden{display:none;}</style>
    <script language="javascript">
        $(document).ready(function(){
            //编辑
			$.extend({
				play_mp3:function(mp3){
					mySound = soundManager.createSound({
						url: '__URL__/getvoiceurl/voice/'+mp3
					});
					mySound.play();
				},
				stop_mp3:function(){
					mySound.stop();
				}
			});
            $("#detail").bind("click",function(){
                $(".warp").hide();
                $("#layer1").show();
            });
            $("#layer1 .close-prev").bind("click",function(){
                $("#layer1").hide();
                $(".warp").show();
            });
            //消息
			var mySound;
            $("#msg").bind("click",function(){
                $("#layer2").show();
				voice = $(this).attr('data-index');
				$.play_mp3(voice);
            });
            $("#layer2 .close-prev").bind("click",function(){
                $("#layer2").hide();
				$.stop_mp3();
            });

            //刷新
            $("#refresh").bind("click",function(){
              $.post("__URL__/refresh", {},
                 function(data){
                  if (data.status==1) {
                    $("#layer3").show(); }
                 }, "json");
                
            });
            $("#layer3 .close-prev").bind("click",function(){
                $("#layer3").hide();
                location.replace(location.href);
            });
            //分享
            $(".reply_other").bind("click",function(){
            send_id = $(this).attr('data-index');
                $(".reply_id").val(send_id);
                $("#layer3").show();
            });

            $("#say").bind("click",function(){
              $.post("__URL__/say", {},
                 function(data){
                  if (data.status==1) {
                    location.replace(location.href); }
                 }, "json");
                
            });
        });
    </script>
</head>

<body>

<!--第一个层，详细介绍-->
<div class="user-box-list" style="display:none;" id="layer1"> <i class="close-prev"><img src="__ROOT__/weixin_statics/images/close.png" alt=""></i>
  <h2>工作经验</h2>
  <volist name="resume.worklist" id="wo">
  <p>{$wo.jobbegin}至{$wo.jobend}<br />
    {$wo.jobname}<br />
    {$wo.jobzhiwei}</p>
  </volist>
  <h2>自我介绍</h2>
  <p>{$resume.resume.myinfo}</p>
</div>
<!--第二个层，弹出电波-->
<div class="user-box-db" style="display:none;" id="layer2"> <i class="close-prev"><img src="__ROOT__/weixin_statics/images/close.png" alt=""></i> </div>

<div class="warp" style="padding-bottom:80px">
 
 <div class="shaxin"><!--<img src="__ROOT__/weixin_statics/images/shuaxin-blue.png" alt="">-->刷新时间：{$resume.ctime|date="Y-m-d H:i:s",###}</div>
  <div class="user-big"><img src="{$resume.pic.url}" width="" alt=""></div>
  <div class="user-title"><span><a href="javascript:">{$resume.truename}</a><em>({$resume.xingbie|format_xingbie}，{$resume.shengri|format_age}岁)</em></span><a href="javascript:" id="detail"><img class="ico" src="__ROOT__/weixin_statics/images/list.png" alt=""></a><notempty name="resume.resume.voice"><a href="javascript:" id="msg" data-index="{$resume.resume.voice}"><img class="ico" src="__ROOT__/weixin_statics/images/vol.png" alt=""></a></notempty></div>
  <div class="user-txt">{$resume.shengao}CM/{$resume.tizhong}Kg，{$resume.xueli|format_xueli}，<empty name="resume.resume.jingyan">保密<else/>{$resume.resume.jingyan}年经验</empty> {$resume.pro|getareaname}-{$resume.city|getareaname}-{$resume.area|getareaname}</div>
  <div class="user-mobile"><img src="__ROOT__/weixin_statics/images/mobile.png" alt=""><a href="tel:{$resume.phone}">{$resume.phone}</a></div>
</div>

</body>
</html>
